import json

unicode_file_path = "../resources/json/response.json"
utf8_file_path = "../resources/json/response_u8.json"

with open(unicode_file_path, "r", encoding="utf-8") as unicode_file:
    unicode_data = json.load(unicode_file)

utf8_data_str = json.dumps(unicode_data, ensure_ascii=False).encode('utf-8').decode('utf-8')

with open(utf8_file_path, "w", encoding="utf-8") as utf8_file:
    utf8_file.write(utf8_data_str)

print("完成!")
